package com.nttuan.model.dao.service;

import com.nttuan.model.entity.Track;

import java.util.Date;
import java.util.List;

/**
 * Created by NT Tuan on 10/21/2014.
 */
public interface TrackService {
    public List<Track> tracks();
    public boolean create(Track track);
    public boolean remove(int trackId);
    public boolean active(int trackId, boolean isActive);
    public boolean commit(int trackId, boolean isCommit);
    public List<Track> tracks(boolean commit, boolean isActive);
    public List<Track> tracks(boolean commit);
    public List<Track> tracks(Date date);
    public List<Track> tracksSend();
}
